//
//  JSQAudioMediaItem.h
//  Pods
//
//  Created by C_HAO on 15/4/20.
//
//

#import "JSQMediaItem.h"

@interface JSQAudioMediaItem : JSQMediaItem <JSQMessageMediaData, NSCoding, NSCopying>

/**
 *  The URL that identifies a video resource.
 */
@property (nonatomic, copy) NSURL *fileURL;


@property (nonatomic, copy) void (^complete)(void);
/**
 *  Initializes and returns a video media item having the given fileURL.
 *
 *  @param fileURL       The URL that identifies the video resource.
 *
 *  @return An initialized `JSQVideoMediaItem` if successful, `nil` otherwise.
 *
 *  @discussion If the video must be downloaded from the network,
 *  you may initialize a `JSQVideoMediaItem` with a `nil` fileURL or specify `NO` for
 *  isReadyToPlay. Once the video has been saved to disk, or is ready to stream, you can
 *  set the fileURL property or isReadyToPlay property, respectively.
 */
- (instancetype)initWithFileURL:(NSURL *)fileURL complete:(void (^)(void))complete;



@end
